﻿namespace Cap.Testing
{
    public class MyCapStrategy : ICapStrategy
    {

        public MyCapStrategy()
        {
        }

        public Task PersistAsync(ICloudEvent @event)
        {
            return Task.CompletedTask;
        }

        public Task PublishAsync(ICloudEvent @event)
        {
            Console.WriteLine("事件已发布1");
            return Task.CompletedTask;
        }
    }
}
